package org.ajax.entity;

import java.util.Date;

/*
 *
 *@author XCH
 *@date2024 - 11 - 20
 *
 */
public class Student {
    private String name;
    private int age;
    private double score;
    private Date born;

    public Student() {
    }

    public Student(String name, int age, double score, Date born) {
        this.name = name;
        this.age = age;
        this.score = score;
        this.born = born;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    public Date getBorn() {
        return born;
    }

    public void setBorn(Date born) {
        this.born = born;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", score=" + score +
                ", born=" + born +
                '}';
    }
}
